package com.chenhongjian.webapp.utils;

import com.chenhongjian.webapp.bean.TbUser;

/**
 * Created by a on 2018/3/27.
 */
public class FiledFilter {

    public static TbUser userFilter(TbUser user){
        if (user!=null){
                user.setLocation(null);
                user.setLocationLat(null);
                user.setLocationLng(null);
                user.setPassword(null);
                user.setCreatedDate(null);
                user.setUpdateDate(null);
                user.setStatus(null);
                user.setVipStartDate(null);
        }
        return null;
    }
}
